package com.spatio.serving.basic.service.template.common.util;

import java.util.regex.Pattern;


public class RegexUtils {

    private static final Pattern PHONE_PATTERN = Pattern.compile("^1[3-9]\\d{9}$");

    public  static Boolean isValidPhone(String phone){
        if (phone == null) {
            return false;
        }
        return PHONE_PATTERN.matcher(phone).matches();

    }
}
